<%@ page contentType="text/html;charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title><s:text name="context.title"/></title>
<%@ include file="/common/meta.jsp"%>
<link href="${ctx}/js/uploadify/uploadify.css" type="text/css" rel="stylesheet"/>
<script type="text/javascript" src="${ctx}/js/uploadify/jquery-ui.min.js"></script>
<script type="text/javascript" src="${ctx}/js/uploadify/swfobject.js"></script>
<script type="text/javascript" src="${ctx}/js/uploadify/jquery.uploadify.min.js"></script>
<link href="${ctx}/js/uploadify/uploadify.css" type="text/css" rel="stylesheet"/>
  <link rel="stylesheet" href="${ctx}/js/cluetip/jquery.cluetip.css" type="text/css" />
  <script src="${ctx}/js/cluetip/jquery.cluetip.min.js" type="text/javascript"></script>
  <script type="text/javascript">
  	function selected(obj){
		if(obj.checked){
			$("#contentTable1").find("input[type=checkbox]").attr("checked","checked");
		}else{
			$("#contentTable1").find("input[type=checkbox]").removeAttr("checked");
		}	
  	  	}
  </script>
</head>
<body>
<form action="student-imp-confirm" method="post">
<input type="hidden" name="college" value="${college }"/>
<br/>
<p align="center"><s:actionmessage theme="mytheme" cssClass="actionMessage"/></p>
<h1 class="title01"><img src="${ctx}/images/02_15.gif" width="45" height="42" class="fl"/>确认学生数据</h1>
<fieldset class="fs_ys" style="width: 1100px">
<legend>学生信息</legend>

<s:if test="studentList != null && studentList.size() != 0">
<table id="contentTable1" class="table_ys tableColor table_ys_input">
	<tr>
		<th><input type="checkbox" onclick="javascript:selected(this);"/></th>
		<th nowrap="nowrap">序号</th>
		<th nowrap="nowrap">学院</th>
		<th nowrap="nowrap">专业</th>
		<th nowrap="nowrap">班级</th>
		<th nowrap="nowrap">学生姓名</th>
		<th nowrap="nowrap">学号</th>
		<th nowrap="nowrap">入学时间</th>
		<th nowrap="nowrap">电话</th>
		<th nowrap="nowrap">E-mail</th>
		<th nowrap="nowrap">备注</th>
		<th nowrap="nowrap">状态</th>
	</tr>
	<s:iterator var="v" value="studentList" status="st">
	<tr>
		<td>
			<s:if test="isConfirm != 1">
				<input type="checkbox" name="checkIds" value="${id }"/>
			</s:if>
		&nbsp;</td>
		<td nowrap="nowrap">${st.index +1}&nbsp;</td>
		<td nowrap="nowrap">${college }&nbsp;</td>
		<td nowrap="nowrap">${department }&nbsp;</td>
		<td nowrap="nowrap">${classes }&nbsp;</td>
		<td nowrap="nowrap">${name }&nbsp;</td>
		<td nowrap="nowrap">${no }&nbsp;</td>
		<td nowrap="nowrap"><s:date format="yyyy年MM月dd日" name="studentInSchoolDate"/>&nbsp;</td>
		<td nowrap="nowrap">${telephone }&nbsp;</td>
		<td nowrap="nowrap">${email }&nbsp;</td>
		<td nowrap="nowrap">${studentMemo }&nbsp;</td>
		<td nowrap="nowrap">
			<s:if test="isConfirm == 1">已确认</s:if>
			<s:else>未确认</s:else>
		&nbsp;</td>
	</tr>
	</s:iterator>
</table>
	<center><input type="submit" value="提交"  class="input_ys1" name="method:save" onclick="return confirm('确定提交?')"/></center>
</s:if>
</fieldset>
</form>
</body>

</html>